package com.heima;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Author : 王苑
 * @Date : Created in 2022年07月26日
 */
@SpringBootApplication
@EnableDiscoveryClient //将服务注册到nacos中    可加可不加
@EnableFeignClients  //开启feign
public class MediaApp {
    public static void main(String[] args) {
        SpringApplication.run(MediaApp.class,args);
    }
}
